package com.mju.dao;

import java.util.List;

import com.mju.model.Users;
import com.mju.model.dto.UserInfo;

public interface UsersMapper {
    int deleteByPrimaryKey(String studentno);

    int insert(Users row);

    int insertSelective(Users row);

    Users selectByPrimaryKey(String studentno);

    int updateByPrimaryKeySelective(Users row);

    int updateByPrimaryKey(Users row);
    
    int resetAllPasswd(String studentno);
    
    UserInfo getUserInfo(String studentno);
    
    List<String> selectByRole(String role);
}